import request from '@/utils/request'


export function createPayStatement(data) {
  return request({
    url: '/api/PayStatement/save',
    method: 'post',
    data
  })
}

export function delPayStatement(id) {
  return request({
    url: '/api/PayStatement/del/'+id,
    method: 'post'
  })
}


export function batchDel(data) {
  return request({
    url: '/api/PayStatement/batch/del',
    method: 'post',
    data
  })
}

export function editPayStatement(data) {
  return request({
    url: '/api/PayStatement/update',
    method: 'post',
    data
  })
}



export function getInfo(id) {
  return request({
    url: '/api/PayStatement/get/'+id,
    method: 'get',
    params: { id }
  })
}


export function getPagePayStatement(query) {
  return request({
    url: '/api/PayStatement/getPage',
    method: 'post',
    data: query
  })
}

export function getListPayStatement(query) {
  return request({
    url: '/api/PayStatement/getList',
    method: 'post',
    data: query
  })
}




